//
//  PayViewController.h
//  ApeExample
//
//  Created by Eton on 2017/8/4.
//  Copyright © 2017年 王-庭协. All rights reserved.
//

#import "AppViewController.h"
#import "PayParameterInfo.h"
#import "PayManager.h"

typedef NS_ENUM(NSUInteger, PayPlatformAction) {
    PayPlatformAction_Balance = 1 << 0,//0-余额
    PayPlatformAction_Alipay =  1 << 1, //1-Alipay
    PayPlatformAction_Wechat = 1 << 2,//2-Wechat
    PayPlatformAction_All =  ~0UL  //全部
};


@interface PayViewController : AppViewController

@property (nonatomic, assign) double payPrice;
@property (nonatomic, assign) PayPlatformAction payAction;

@property (copy, nonatomic) void (^closeBlock)();
@property (copy, nonatomic) void (^confirmPayBlock)(PayPlatformType payPlatformType, double payPrice);


@end
